package com.example.mybatisjpa.repository;

import com.example.mybatisjpa.entity.User;

import java.util.List;

/**
 * @author Misty on 2020-12-03
 */
public interface UserRepository extends BaseRepository<User, Long> {
    default List<User> getUserList() {
        return getList("User.selectUserList");
    }

    default int insertUsers(List<User> list) {
        return insertList("User.insertUsers", list);
    }
}
